Allow for length of password on VMs to be set via global settings

(cherry picked from commit 96412e3e58fd1ced9d269e4552aaa6410bedf556)

Conflicts:
	setup/db/db/schema-430to440.sql
remove unused import

(cherry picked from commit 2bb12f2a85c8497a15cd7b17099aefbd7c486f9b)