Updated instantiation of NodeInstance object for CLI and handling of context_file parameter in the connector.
Fixed the template generation for credcache.