working on login tests, breaks karma