Make downloadAsString having same behavior as getResponseBodyAsStringBasedOnProxyAuthOption.