Fixed invalid html in password reset emails.

Fixes Issue #3182.