Fix malformed URLs in hibernation email #1446

Team invitation and comment emails might be affected too.