Fix auto-login if spaces are trimmed from a username on signup.