Since MONGODB-CR (the authentication used before) is not (really) supported anymore, this here implements SCRAM-SHA-1 (the new authentication).
Since some of the users will still use MONGODB-CR, i held it downward compatible, by defaulting to MONGODB-CR authentication when not specifying any Auth-Method.
Since MONGODB-CR (the authentication used before) is not (really) supported anymore, this here implements SCRAM-SHA-1 (the new authentication). Since some of the users will still use MONGODB-CR, i held it downward compatible, by defaulting to MONGODB-CR authentication when not specifying any Auth-Method.