CMS-2213 Replace all hardcoded rest URL's in admin.