Integration tests for login functionality