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.
A couple of strings in this class that would be better off as constants, strings like `password`, `user` a.s.o.