Закрыто как дубликат: Error is not highlighted when username is correct, but not enough characters in password.