[SD-668]: Fixed:

Upsert of User Profile after successful Authentication into Mongo, was failing when AD is enabled.
Command users:copyfromad fails to insert user into Mongo.
Added AD check in UsersService to avoid adding hashed password to doc when AD is enabled