Update both flag and key values if key values exist
Had code doing account disabling by the "enabled" key value property. After that creating an account object and checking the states there was enabled flag false and "enabled" key value true.
The properties seem a bit special by changing the flag from key value changes. But if just calling ag_account_set_enabled(), the key value property is just used as internal mechanism and filtered out.
First tried just removing the related 'continue' statements, but that broke a couple unit tests which expect that only a fixed list of properties exist. Hence here updating the property if it's there but not inserting such if it doesn't.