addNewPassword method to set the generated password at the lost password workflow