Patch for issue #584: operateWithFailover fails against c* 1.2.1 when authentication is enabled

Almost the same code amendment as in biddster's comment on issue #584.