Fixed #14825 - LocaleMiddleware keeps language

* LocaleMiddleware stores language into session if it is not present there.