Fixes #796 Move all uses of PasswordHash to auth library

Created two functions in the auth library to interface with the
PasswordHash library, hash_password() and check_password().

Updated user_model's hash_password(), insert(), and update() methods to
use auth->hash_password().

Updated auth->login to use check_password()