Make use of the possibility to test the settings

For the new account wizard there's an pull request that make it possibility to test the settings before creating the account. This pull request let the XMPP account type make use of that possibility.