LoginModel incorrect defined() calls

defined() called with constant not string of constant's name in both LoginModel::sendVerificationEmail() and LoginModel::sendPasswordResetMail() 

produced false, false in conditional statements.