Fixed error with multiple password changes in one session