fix the auth client