Revert put operation if authentication failed
Since we need all the body data to authorize the request, the put operation already finished once we know if we can accept it or not. Best thing would be to revert the put or delete it again.
Otherwise we will have to wait with the put to phobos until all data has been sent.