Do you post private content? Are you sending those links to your users with private content access? WordPress natively send non-logged in users to a 404 (content not found) page when they try to access a post, page, or cpt without rights. This plugin redirects those users to the login page. After successful login the user is then redirected back to the post, page, or cpt they were trying to access.