XMPP: Implemented passwords
PluginBase: Handle shutdown gracefully