Ensures current thread is not authenticated on tests