allow protected keys to be set/unset + config_db tests
fix deprecation warning