fix(tests): Fixed a regex typo in the reset password tests

Fixes #1058.