Feature/authentication api

WIP: Authentication endpoint to be used by discourse app. 


Done:
* Basic Auth check
* Meaningful error message/http response code
* Security via key validation

Todo:
* Set up discourse
* Configure authentication helper
* Testing