Authenticate the stream.