Fetch the correct authentication type

https://bugzilla.redhat.com/show_bug.cgi?id=1102724
Merge pull request #1143 from brandondunne/fix_rhn_registration_with_http_proxy

Fetch the correct authentication type