Fix indentation issues.

I'm asking Santa to add curly brackets to Python.
code cleanups
Make proper SSOSessionCache class.