Move oauth to object inside config to allow other options like storage.