Allow custom authentication formats.
Fix re auth when no response handler is registered.