Move the sessions id validity test to a dedicated method
tests for b07d3d8