[1.6.x] Fixed #21487 -- Session cannot store tzinfo instances anymore.

Thanks filipp for the report.