You're not actually updating the password in the passwordAccount object.
passwordAccount = accountBusinessLocal.findByLogin(login);
// now update the passwordAccount with the entered password
passwordAccount.setPassword(password);
accountBusinessLocal.UpdateAccount(passwordAccount);