Tests for LoginRequiredMixin.