Enable casual username/password authentication

This can be used by CLI clients or APIs
Merge pull request #20 from ares/feature/api_authentication

Enable casual username/password authentication