Connects to hubUrl using the saved session for it, making it the active connection. Returns the authenticated principal, or throws on failure.
hubUrl
Future<Principal?> connect(String hubUrl);