Added new site config treatAuthFailedAsError.