fix bug in password change on Dashboard