COD4+: fix bug when cod4ClientAuthMethod handles an unexpected error