avoiding crash of nm-ssh-auth-dialog if auth_type is NULL