Attempted bugfix for issue #7 -- improves session handling for built-in REDSHIFTNET test app, but makes no difference for session-handling in standalone apps