Updated unit test for login, we longer unit test the UI, just testing the login functionalitiy.