split auth module settings to separate factory