Negotiating licences for digital resources