Fix #17715: Manage Config should trim option name

If copying and pasting causes a space at the beginning or end of the config option then the validation that the option is known will fail.  The fix is to trim the option name before validation and setting.