Make AuthInfo type covartiant