Bug Fix #58: Fail to assign MacSecureEnrol devices

Various code-paths *assumed* valid domain account ids as long as an id
existed (simple null-check). Correct checks for valid domain account ids
has been implemented.