Security: Build mail links from the configured base URL
Description
Links in e-mails sent during a request, such as reset, invitation and notification links, followed the Host
header of that request, so a forged header could send somebody's reset link to another site. They are now always
built from DEFAULT_. A used, expired or unknown reset link opens a page that says the link is no longer valid
and offers a new one, instead of the form.
Impact
Set DEFAULT_ to the URL users open in the browser; links in e-mails use it from now on.