Move dependencies call to boot method
Fix #1276 : persistent cookies does not authenticate
Merge pull request #481 from romainneutron/fix-07-10-03

[3.8] Multiple fixes