guard AuthCheck with try/except as it will raise an exception.