Validate additional data from server in SASL authentication

Some SASL mechanisms, e.g. SCRAM-SHA-1, specify that the server should
send additional data along with the success response.  This data needs
to be validated by the client according to the SASL mechanism.