PYTHON-777 Make copy_database work with SCRAM-SHA-1.

See doc/examples/copydb.rst for details.