This adds tests for the influxdb component. It also fixes a bug, where username and password are required, but not gracefully handled if they're missing from config.