Cleaning and modify authService.