Improving doc. on how OAuth is integrated in MW

Reworked version, with tabs instead of spaces.

* Following code format recommendations
* Making sure that cURL calls are SSL only if it is configured
* Added more notes on the process

Change-Id: I3732eb25525be800efcc633447dc188427e743ea