Improve API to derive appName (for bucket prefixing) from autohost or config and return an object containing authorization, authentication and hasUsers properties