Trying to fix broken OAuth client