Added resign ability to retries

Fixes https://github.com/aws/aws-cli/issues/827, https://github.com/boto/botocore/pull/337

cc @jamesls @danielgtaylor