API Authentication

:construction: Very much a WIP, more to come, including a better description of this pull request :smile: