Extend session id length.

When session.hash_function was set to generate hash longer than 32
characters client got "session expired" error.