Fix oauth settings