get the tests working with login