Python & CLI fixes

* 9931: See ticket for an example of an attempt to reproduce. As long
   as bin/omero sessions list still functions normally, this change
   can't really cause any issues, and should hopefully prevent the issue
   in 9331.

 * 10361: try `bin/omero admin start --wait=5` etc. (/cc @rleigh-dundee)