add log when 401 is sent (to know the unauthorized host)