Set session properties to eliminate depracation warnings in express-session.