Make /login give a proper JSON response again

Created by  Eelco Dolstra  on November 6, 2013
7ZP7ZMMU6QKSJITDLEXZ2K5Z36IO7IWKZYMABFJJU5BNOXCGTZJAC
Change contents