Add a special password hasher just for unit tests.
Review Request #14618 — Created Sept. 16, 2025 and updated — Latest diff uploaded
When running unit tests, we forced password hashing to use
SHA1PasswordHasher
because the standard password hashers by design
take time to execute. Unfortunately, the SHA1 hasher is deprecated and
will be removed in Django 5.1. Because we don't actually care anything
about password security when running unit tests, this change adds a
special hasher just for the test suite that uses base64, which is even
faster than SHA1.
Ran unit tests.