Allow registration of sensors, through the restapi, that do not have a sensorId yet. The new sensorId is added to the metadata file.