set user-agent header before MoreHeaders
diff --git a/provider_client.go b/provider_client.go
index 09e9344..3c65984 100644
--- a/provider_client.go
+++ b/provider_client.go
@@ -159,6 +159,9 @@
 		req.Header.Add(k, v)
 	}
 
+	// Set the User-Agent header
+	req.Header.Set("User-Agent", client.UserAgent.Join())
+
 	if options.MoreHeaders != nil {
 		for k, v := range options.MoreHeaders {
 			fmt.Printf("Applying header [%s: %v]\n", k, v)
@@ -170,9 +173,6 @@
 		}
 	}
 
-	// Set user-agent header
-	req.Header.Set("User-Agent", client.UserAgent.Join())
-
 	// Issue the request.
 	resp, err := client.HTTPClient.Do(req)
 	if err != nil {