Improve API to derive appName (for bucket prefixing) from autohost or co...

...nfig and return an object containing authorization, authentication and hasUsers properties