Restore security constants from Pyramid