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

Add error to vmware when no datacenter, save password when testing connection
this makes little sense?