Revert "Fix for the login_link caching logic."

This reverts commit 55dee93c75c0e3c8e7b3c8a363e2db786adb230e.