Raise PermissionError when that is know to be the problem (401 response).