configurable for oauth/admin/cdn name and fix some bugs