fixed long-standing bug where upon activation the password-reset e-mail rather than the activation e-mail was being sent, due to a typo