feat: use API authentication
Implements a basic auth provider to authenticate with the API.
As it is using a httponly cookie, the app stores the login state in local storage to avoid making too many requests to the API.
The demo app has been updated to require authentication and redirects the user to the login page if not logged in.
Closes #41 (closed)
Edited by Arnaud Vergnet