Fix issues caused by moving a method

Fix issues caused by moving getServiceByProvider from SocialLoginController to SocialLoginService without taking into account the method's use of $this.