Add integration test for user login