Fixed #23667 -- Incorrect settings reference for language cookie.

Thanks jamesbeith for the report.