Test fixes and optionally test agent available on null credential before trying to connect