Extract bizarre session stuff

Change-Id: Ifceaf7c9ecfaad737ec4f14ba1d55f98dd957160
Merge commit 'refs/changes/46/2946/3' of ssh://gerrit.tuleap.net:29418/tuleap into tuleap-stable-master

* ssh://gerrit.tuleap.net:29418/tuleap:
  Extract bizarre session stuff

Change-Id: I620fa37870162ed536274c28778e0d7660b774d6