Revert "Added cucumber tests and changed downloaded file to use token and not object_id"

This reverts commit 18a70b2c4ce3a9eef39f3af2197c0d046ea5eec9.
Revert "Revert "Added cucumber tests and changed downloaded file to use token and not object_id""

This reverts commit 4270d3c06c47bead2015221256b09999854739b8.
Reverting some changes, merging patch download into viewing raw link for merge