testing: Fix authentication checks
testing: Fix authentication checks

request.user is never false because of the anonumous user object, call
the is_authenticated() to check for the authentication status.

Signed-off-by: Fam Zheng <df9fd617995bad07eac70e27aa3fe5069270e3bd@redhat.com>

pvital/patchew,pvital/patchew,pvital/patchew,pvital/patchew