Fix the user name session value when logging in via email.