fix test failure

http proxy must be configured before Endpoint discovery occurs