Turn off validation during user login. If validation rules are added for registration/profile editing, login failed for any users not matching those rules.