Modified unit test for LoginFormController to test for alert messages.