Fix json login problem with locales
Merge pull request #7 from kaleidos/fix_json_login

Fix json login problem with locales