Fetch the correct authentication type

https://bugzilla.redhat.com/show_bug.cgi?id=1102724