YKCS11: add more precondition checks during SingInit.
YKCS11: add more precondition checks during SingInit.

Yubico/yubico-piv-tool,akgood/yubico-piv-tool,akgood/yubico-piv-tool,Yubico/yubico-piv-tool,akgood/yubico-piv-tool,Yubico/yubico-piv-tool,akgood/yubico-piv-tool