UC-1678 Removed domain if user name is passed as email address
Closed some writers the were left open (leaking)
UC-1679 Added support to run additional verifications for Counterpath devices log in