Passport is not working 100%  with the removal of cookie-parser. As cookie-parser has to be removed to make passport to work if express-session >v1.5 .Now auth on api page does not work