Fixed issues with accessing secure services via proxy