Fix session id generation.
Merge remote-tracking branch 'origin/deif-fix-session-id'
Merge pull request #46 from 4teamwork/master

Fix session id generation.