Add integration tests for the login process.