AI-764 : added server side validation for ChangePassword functionality