GERONIMO-6526 patch from Hendrik Saly, handling authId in authentication

git-svn-id: https://svn.apache.org/repos/asf/geronimo/javamail/trunk@1633281 13f79535-47bb-0310-9956-ffa450edef68
GERONIMO-6515 patch from Grzegorz Tańczyk, Unable to set localhost for EHLO in Geronimo JavaMail + additional Testcase

git-svn-id: https://svn.apache.org/repos/asf/geronimo/javamail/trunk@1635813 13f79535-47bb-0310-9956-ffa450edef68