Fix multipart bodies vanishing

If a command is created withMedia() and that command fails because the authentication has expired, the retry (after the auth has been fetched) does not seem to have the bodies associated with the multiparts. This patch is a bit of a kludge, since it simply makes a copy of the multipart bodies and sets them back as part of the request after the auth succeeds.