[#1038] Simplify code that reads ckan.auth config.