Introduce authentication and basic authorization in the server.

- When enabled, all requests must be authorized using an authorization token
- Token is acquired by authenticating with a username/password tuple.
+1, but I think that can be done once we have a feature requirement for it, this is all internal stuff