Hashing of passwords for basic auth

Closes #27