fix randomly failing auth.t

sometimes module detects disconnect only when it tries to send the data,
this change ensures that module will try to reestablish connection. Fixes #19