It could be a good idea to implement this feature for better security. Maybe a checkbox in case you enable spice or vnc in advanced mode for vm creation, and a possibility to change it later or remove the password.