add basic integration tests for login