Fix call to ``request.user.is_authenticated()``