Corrected password request and action depending on locked_ca