fix bug in Register() (get the correct auth_info