Proxy authorization fixes