Fix issue with doc routes being protected