Added integration test for login failing