It due to the Privacy Consent plugin on your site, when you enable this plugin, it will request user's consent to the site's privacy policy. Existing users who have not consented yet will be redirected on login to update their profile
So when you click links, you can see the URL that it's linking to edit profile page to accept the policy. Once you accept, the next login will be fine, all links will show normally.