Update client template for secret encoding changes