CORE-4556: Fixed restore. We were checking to make sure that the full
path to the trash origin was writeable instead of the dirname of the
trash origin.
Fixed the ticket lookups so they use the irods user instead of the user
making the request.