Fixed integration tests to login user before checks that require authentication.