OAuth clean-up and refactoring
Fixed minor bugs inserted in clean-up
Allow edition of OAuth endpoints for testing; better configuration values