aws/ec2metadata: Add test to verify token refresh for 401 (#3967)
aws/ec2metadata: Add test to verify token refresh for 401 (#3967)

Adds an additional unit test to verify that the EC2 IMDS token is refreshed when the operation receives a 401 HTTP status code.
jasdel/aws-sdk-go,aws/aws-sdk-go