Adds more test cases for the pwd reset process.

These didn't have tests before and, sure enough, we had an issue today. All should be fixed and future-proofed for now.