Created login service and injected it into login link test.