Validate password

Closes #21