Fixed a bug with handling passwords with special characters. Added the first part of the code to adjust existing VMs.

Signed-off-by: digimer <digimer@alteeve.ca>