Authorize access to Twitter's API and persist tokens.

If there are no Twitter credentials, authenticate by opening a browser and asking for the resulting PIN code.