much messing about to get authentication on cloned vms working