Client auth template fix