The first of link which include in the confirmation link(
http://localhost:8787) depends on the URL from which you would access panel and perform action. For example if you use url
http://domain.com/admin then in the confirmation email same URL will automatically included.
All those emails which HC send for confirmation has 2 type of links
1= Hyper link URL
2= Manual link (copy paste in the browser )
So far we have tested different scenario and didn't find any broken template.