Added a cleanup of the posted username on /login.

Cleans up the username that's sent during the post to /login

Removes leading + trailing whitespaces.

Had reports of tablets auto-completing the username with a space at the end causing this issue

Should we merge this or ignore it since it's caused by a bug on the client side ?