Fix send mail flash message showing twice in login.