Fixed issue with PLAIN login