Fix wrong password length. Sync with Just
Refine error handling. Don't be silent on wrong values