Added a test for the flash message on a failed login.