Bug3271

This adds a new extension point to be used by a plugin if it will allow the user to be able to test the settings before creating an account for the plugin. It also adds an interface to be used by the class that make the actually test-login (which the plugin has to provide).