Multisite – Lost Password Link is for wrong site

We are setting up a second site on a multisite installation, and have noticed on the new site, that the ‘lost password’ and subsequent reset password links are pointing to the original site.

In the second site, I have added a plugin which just does this.

This does return the 1st network details – but maybe it always does.

The network_site_url function has a check for is_multisite – which as far as I can see, this is what it needs to do – grabbing the site_url would work, but it skips past this and does the get_network() call.

The details in the Network Admin/Sites are correct for both sites.

Is there anywhere I need to set something?