PUT/Update on REST Api works again

It should return valid json and no redirect to an page that is telling, that auth is missing.