Store password hash and add basic test

Adds Flask-Testing and passlib dependencies