Migrate from scrypt to sha256. (#8969)

This reduces the server time to compute the hash from 40ms to 5µs,
which should remove this as a noticable chunk of CPU time in production.

(An attacker who has access to our database will now need only 10^54
years of CPU time instead of 10^58 to brute force a token).

Release Notes:

- Improved sign in latency by 40ms.
75a42c27dbConrad Irwin committed on 3/7/2024, 3:51:43 AM· committed by GitHubparent4d2156e
6 files changedLine totals unavailable