make the login endpoint works again
Merge pull request #1 from sebastienblanc/AGPUSH-503

make the login endpoint works again