[bug959277] - Added CSP into middleware, app; added hood into pakage.json