Don't cache the login link for anonymous users (#1921)

The link includes the request path, so we don't want to cache it.
It's cheap to generate in any case.