Added a login failed happy path case with corresponding error messages and tests.