permalink & uri webservices: distinguish case where user is not logger (returns 401) from
link really not found (returns 404)