Added basic authorization for influxdb if needed
InfluxDB: support for basic authorization (PR #782)