Integration test for login scenario