Safari not prompting for basic authentication
Our website provides hyperlinks to third-party software which requests basic authentication. Previously a user would click the link, they would be taken to the new URL, and an authentication prompt would be shown. On the recent update Safari no longer prompts for authentication, and users are given a 401 Unauthorised error immediately. If you reload the page, it will prompt. Pasting the URL directly into the address bar works correctly.
This is not due to caching or cookies. I can confirm it was working fine in macOS Safari 11.0.1 and is broken in 11.0.2. Chrome does not exhibit this behaviour. I also have reports of the same issue affecting iOS Safari, but I have not isolated versions.
Loading a test page from my local HDD does not give the same problem, but when hosted via IIS (on our web server or on my development machine) it fails every time. An example page is hosted here:
https://go.itelescope.net/auth_test.html
It links to a test authentication server here (this test server does not display a 401 error, but it still should show the authentication dialog):
http://httpbin.org/basic-auth/user/passwd
Has anyone seen this before, or found a solution? I'm also reporting this to Apple but since I'm not an Apple Developer I expect it to get lost in the noise.
macOS High Sierra (10.13.2), Safari 11.0.2