Turn off autoconnect if credentials are not set