Fix logging in with test data