rewrite admin api requests to use internal admin