Fix bug with accept header failing for preferredLocale.