Do not remove non-hupa session attributes, so as hupa server can be included in other backends, and some re-factoring to avoid repeated code

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