Authentication on categories