bug fix to password reset caused by 1.6 upgrade