Fixed routing issue with creating user from console.
Fixed bugs with password validation.