Verify device state in Device.Authorize
When handling the Authorize dbus call, before doing anything else, the status needs to be checked; otherwise it can not be guaranteed that the device is in the right state, e.g. the domain member is not NULL; the latter will result in a crash, as observed in the wild: #118 (closed).
Closes #118 (closed)