fixes #6100 auth_gettoken now works with email address
Merge pull request #6106 from jeabakker/6100-webservices-auth-gettoken

fixes #6100 auth_gettoken now works with email address