Improve default locale / locale cookie handling.