Obnam server API: token validation in requests

Goal The goal for today is to implement an API end point that validates an access token. This requires adding all the infrastructure to actually provide an HTTP API. Plan Implement a GET /validate end point. The request MUST have an Authorization header with a valid API token. The successful response is a JSON representation of the token. For requests without a valid token, a 401 response is sent.…