Issue #1462344 by Devin Carlson: Reworked user agent monitoring to fix a WSOD caued by checking user access during init.