MINOR: backend: compare conn hash for session conn reuse

Compare the connection hash when reusing a connection from the session.
This ensures that a private connection is reused only if it shares the
same set of parameters.
2 files changed