pkcs11: Search for private keys in a more generic way.