Add password reset tests
Update password reset tests and fix minor issues with the password reset feature