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

Update profile password validation.