ALM-629 added oauth2 support for mendeley, automatically retrieve access token