Merge changes by jessevondoom: Enhancements to getAuthenticatedURL (allow response override headers, fixes for clock drift on short-expiry links)

Enhancements to getAuthenticatedURL (allow response override headers,
fixes for clock drift on short-expiry links)