fix middleware order
(see: https://docs.djangoproject.com/en/dev/topics/i18n/translation/#how-django-discovers-language-preference)