Validate password length

Closes #21