Add authentication to connections