Revert "Issue #2239969 by znerol, sun: Session of (UI) test runner leaks into web tests."

Broke HEAD. Temporary rollback.

This reverts commit 5a3ef306311d78ca39daab6ec52698f8cd562b09.