Correct login/username. Fixes #255

In case authentication happens with an email address, this sets the login to the username after authentication, so that everything works as expected.
Updated CHANGELOG