Fix CAP END during capability negotiation
Better tests for SASL and capability negotiation