Revert "Revert "Fix the x-amz-date expiry""

This reverts commit 33f3ce47cc118ea5157ddc7957fb3985f6ef7338.
Revert "Revert "Updates to the x-amz-date renewal calls""

This reverts commit 25fd619c5f5947dfa1440b8a4300a532f7f82de7.