I then removed the primary domain and was still able to authenticate with a valid email of the subdomain. If I tried to use an email in the primary domain that was not in the subdomain then it fails, stating that the email is not valid.
All in all, it works perfectly with subdomains!