Add regression tests for auth + disconnect