Revert unused caching part of a4ebaff

(As with the `iconfactory-from-string2`, this is a redo of the `remove-mpdhelper-caching` branch with the appropriate changes.)

We did not use the caching of commands/urlhandlers; additionally, the
urlhandlers was called before password authentication.

Without the caching, we no longer need to wrap connect/disconnect.