Added basic authentication for all routes except /archive.