Allow revoking application access grants from user preferences
Since access grants are now easily revokable by users, extend their lifetime to one year, and fix prune! method