Fix error messages on login