fixes #6540, #8335 - Add error to vmware when no datacenter, save passwo...

Add error to vmware when no datacenter, save password when testing connection
helping @domcleal to [test] from within line note