Replaced phpass with passlib

Removed the old implementation using phpass for pasword salting and hashing
and replaced it with a simple implementation using passlib