Fix for issue #762: Session middleware fails to add session when request contains absoluteURI