Fixed #22849 -- Added Session.__str__()

Whoops, two tics, I'll update it.