Small fix to AuthService.