implement basic AUTH support for lifecycle of connections