Fix bug when a user users a non-existing username on login