Create the demo rest service and config the oauth resource server