Adding support for basic auth for task esindex.CopyToIndex && target

esindex.ElasticsearchTarget