Fixed login problems
Merge pull request #60 from TheArchitects/fixing_login_for_tests

Fixed login problems