Added support and tests for unicode support in sessions.