Fixing discovery doc requests from API proxy.