added support for username and password

 COOK-4510. This patch adds support for the username and password fields in yum repositories. (This is my first contribution, handle with care).