generate Authorization header for AWS REST API