Add some integration tests to verify the login api works