UD-235: Added validation for update user password

@andrew00x @evoevodin 
Why did you do that?