captiveportal: more db migration to associative arrays