Deal with running tests on systems without dbus-run-session.