Add support for authenticating connections to test server