Adding session flags to get Redis working with passport