Improved PKCS#11 provider loading.