The authservice may return anything, so the check should be against the expected type