Another approach might be to make the link always active, but invite anonymous users to log in upon clicking it.
Another approach might be to make the link always active, but invite anonymous users to log in upon clicking it.