Attempt to optimise owncloud key retrieval