Rework SSO sessions and logging.

Make INFO logging useful.

The SSO session is work in progress to clean out the
environ leftovers etc.