Testing login service with mocked login server and data