Bug 1159067 - Read user cred from config

Bug 1159067 - [RFE] allow pulp to read user credentials from users admin.conf
if he/she does not want to provide password on command prompt
or --password in pulp-admin

this is basically for writing a batch job that would include multiple command lines together.
This function should be removed, but usually we use basestring which is a parent object of both str and unicode.