when generating mails for issue changes, generate correct links
fix a UserMailer test