Truncate session id length in history handler.
Extend session id length in Tools/WhoIsOnline