Refactor OAuth specs