Default Redirect after login based on destination
You mite need to add 'destination' query parameter for shared link.

For example: https://www.drupal.org/user/login?destination=search/site/destinations