Implement bitpay's password strength checker

Closes #743