fixed issue 1634:retrieve password regression, thanks christophe.varoqui