Added some details about authentication handling.

This details are more or less copied directly from [Authentication management in Composer](http://seld.be/notes/authentication-management-in-composer).