Fixes issue with condition copy headers

`auth.canonicalizeHeaders` did not correctly sort headers,
which caused requests with `x-amz-copy-if-` headers to fail
with a signature error.