Make Rest API client ID, client secret and token validity in seconds configurable.