Fixed #19869 -- active language change inside ``LiveTestServerCase``

It's now possible to change the active language of the live test server from
within the tests. This is achieved by converting the active language thread local
into a thread nonlocal.