Modified/fixed to meet my requirements

Can accept widget options as YAML, one config for all apps by
default, disables authentication in edit form, fixes saving of
multiple option pages.