Moved more authorization url logic to base class