Reintroduced the is_authenticated for Django users to preserve the backward compatibility.