Added End to End test for login
Made login service httprequest independent