ugly sample implementation of different auth types, type defined using a config file and corresponding import. auth only required for POST and DELETE.
Merge pull request #2 from BeneDicere/master

sample implementation of different auth types