Minor fix: Ensure to send a valid Content-Type
Check if a template requires a password or not
Merge pull request #1643 from chirag-jog/vcloud_enhancements_001

Further fixes and enhancements to vCloud