UK: add DigestAuthentication for the api endpoint, closes #286