Add http auth support to the PUT request

Adds the http auth call to the PUT operation.