Minor improvement to sendResetPasswordEmail code.
Fix UserTokenResourceTest