session registration now in XFormsFilter; fixed issue with NPE; further unit testing;