Fix to auth that makes express-sessions work with the newer express version.