MDL-66280 core: Added checks for empty password minimum length