Force apps flag to be boolean in config API

ref #3969

- it shouldn't be possible to set keys via this flag