move the loading of features higher up so that folks can add auth function defs in their configured features and have the auth check be able to use those functions
Merge pull request #46 from cyberrodent/move_feature_loading

move the loading of features higher up