authentication cost analysis