Update profile password validation.
Merge pull request #171 from gsn/master

Update profile password validation.