changed condition to check use hard token for xmlSigning.