Check password length when keystore exists too