The quantum affine origin of the AdS/CFT secret symmetry