Revert "Do not use global sessions"

Reverts juju/juju#361