Catch ERR_PASSWDMISMATCH and show a dialog to the user to ask for a server password when connecting.
ERR_PASSWDMISMATCH