fix pickling error on session caching, webnotes.lang has __slots__
remove unnecessary scrubbing