WebSession: fix regression test