Implement phpass for authentication.