adapt uri for auth and resource server due to separation