[S3] Support v4 signature.