vcloud-director: fix VM credential lookup

- Avoid NPE if no credentials found from vApp.
- Always use TemplateOptions overrides if they are supplied.