Why:
* The maintenance scripts in core are mostly untested and testing
the less complex scripts will improve the test coverage in core.
What:
* Add integration tests for resetUserEmail.php that partly cover
the script.
Bug: T371167
Change-Id: Ie5f0934654d8228cebb5953a5fefa3343631999c