fixed regression after adding password length validattion