Add a check for null/empty password in PKCS12 keystore.