Remove unused code from initAuthService