UD-235: Added validation for update user password

@andrew00x @evoevodin 
Intellij auto importing, it will be fixed