Update use of is_authenticated and is_anonymous.
Review Request #2395 — Created Jan. 17, 2022 and updated
AAAA has changed `User.is_authenticated` and `User.is_anonymous` to be
attributes instead of methods. These are currently available with a
fallback, but that's going away in Django 2.0+. This change updates our
usage to use the new syntax.
Ran unit tests.
Reviewed at https://reviews.reviewboard.org/r/11924/