added login integration test