TMP: SECURITY HOLE
Fix unit test test_sess.py