Fix a bug that somebody reported about blank usernames and attempting to login.