Do not try to connect if the user or the url of the web service is not set in pref