Adds a password type to Doctrine that hashes and compares passwords using the phpass library.