Use mysql store for verification details

use mysql for all persistence, if available. Clean up php warnings from
multiple includes.