I ran into this behaviour today and support a change in the UX.
The case where you don’t want to link to the final location is if you expect the people you are sharing your link with to be authenticated or be able to authenticate to the site you are linking to.
There’s also the optics of it, I posted a link to a discourse thread in another community and the link was changed to point to the sign in page. People were asking me if I posted the wrong link because it’s odd to link to a sign in page on purpose. Ultimately, it is changing what the user meant to post.
Workaround is valid but not good, we should have smarter defaults especially if we want to avoid bad UX for the poster and the user clicking the link.