Added test for login failure notification.