FORGE-1080 Use setProperty to store REST configuration.

This prevents duplicate entries from being added on subsequent rest setup invocations.