Update cookie when changing user password.