Fixes #2582
Merge pull request #3511 from martinpallmann/flash-secure

Adds a secure bit to the flash cookie. Fix #2582