Fixed #22849 -- Added Session.__str__()