TN-2200 celery report generation doesn't have a request context. (#3411)
TN-2200 celery report generation doesn't have a request context. (#3411)

* TN-2200 celery report generation doesn't have a request context.  Now correctly checking for this situation

* accommodate test needs where request context exists but we don't have an active user.

uwcirg/true_nth_usa_portal,uwcirg/true_nth_usa_portal,uwcirg/true_nth_usa_portal,uwcirg/true_nth_usa_portal