[TASK] Make OAuth configuration easier to override

Define CONSUMER_KEY and CONSUMER_SECRET only if not defined yet (so that
they can be defined in inc/config-local.php, for example)