[XAPID-1070] add auth to requests sent by bundle downloader. Reuse http clients
diff --git a/bundle_test.go b/bundle_test.go
index 649e251..6d4fbd7 100644
--- a/bundle_test.go
+++ b/bundle_test.go
@@ -17,6 +17,7 @@
 import (
 	. "github.com/onsi/ginkgo"
 	. "github.com/onsi/gomega"
+	"net/http"
 	"sync/atomic"
 	"time"
 )
diff --git a/init.go b/init.go
index 4f4bd80..deb3630 100644
--- a/init.go
+++ b/init.go
@@ -43,7 +43,6 @@
 	configStoragePath                = "local_storage_path"
 	maxIdleConnsPerHost              = 50
 	httpTimeout                      = time.Minute
-	configBearerToken                = "apigeesync_bearer_token"
 )
 
 var (
@@ -193,6 +192,7 @@
 		downloadQueue:             make(chan *DownloadRequest, downloadQueueSize),
 		isClosed:                  new(int32),
 		client:                    httpClient,
+
 	}
 
 	bundleMan.initializeBundleDownloading()
@@ -215,6 +215,3 @@
 	return pluginData, nil
 }
 
-func getBearerToken() string {
-	return "Bearer " + config.GetString(configBearerToken)
-}