Make sure security directory exists