Use site_uri to generate forgot pw link
Pass server port to backend so we know whether it's ssl or not