Adding support for latest express version where the session object has been extracted from the express framework