Changing @Autowired by @Inject
Make accessible cookies on request attribute for the current request