Fix a bug that allowed a user to login without typing a username