add http and https authentication for graphite query.