Fix to certain links that break when authentication is required.