Fixed "Unauthorized" for api index