Using python2-keyring for offlineimap as advised by arch wiki.