ctccid: Added fixes amd SignHash code
pkcs11: Fixed session handling