UD-235: Added validation for update user password

@andrew00x @evoevodin 
as for me
```java
int letters = 0;
int digits = 0;
```

looks better.