Refactored OAuth settings