Fix sasl authentication on writer (#541)
Fix sasl authentication on writer (#541)

The authenticateSASL was called before getting api version.
This resulted incorrect apiversion (0 instead of 1) when
calling saslHandshakeRoundTrip request
segmentio/kafka-go