fix issue #95

can not add device with profiles:devices:add because enabled and
device_id field of the device is not correctly initialized when
passing to agent.manage_devices_for_profile