Work on session service provider.
Fix session handling of booleans.