Tighter acceptance checking on SASL_LIST_MECHS.