Fixed resource type for adding users to Mongodb.