'protocol' and 'auth' options are ignored

This fixes an issue, where the 'protocol' and 'auth' options were ignored.