Hi,
I ran into the same problems. I tried to fix it like this
PHP Code:
$password2 = new Zend_Form_Element_Password('password2');
$password2->setLabel('Repeat password')
->setRequired(true)
->addValidator(new Zend_Validate_Identical($_POST['password']));
This seems to work just fine, at least for me.