Implement OAuth support.