Issue #2430379 by quietone, znerol, larowlan: Add explicit test for session based language negotiation
(cherry picked from commit 6eff88bf)
Closes #3301562