Allow extending how DefaultRouter obtains the api root 

Allows subclassing `DefaultRouter` to solve #1991