Use brypt for password hashing in Sample Application, closes #1274