UD-235: Added validation for update user password

@andrew00x @evoevodin 
Really password#toCharArray() looks cheaper for me