Test login error in LoginFormController.