Support anonymous config

With anonymous configuration, one doesn't need write access to the ccm data and cache dirs