Authenticate explicitly in httr::PUT calls

Maybe this causes the 401 errors I get.