remember the connection mode and the auth mode
correct a typo for saved protocol/authmode
set credential after they've been intialized