Fix POP3/IMAP4 authentication (JAMES-1504)

git-svn-id: https://svn.apache.org/repos/asf/james/mailbox/trunk@1476790 13f79535-47bb-0310-9956-ffa450edef68