Fix oauth problem when user denies access.