OOIION-1716
JS error was being thrown for non-logged in guests -- they couldn't d/l attachments.  Fixed now.
Merge pull request #370 from cgalvarino/guest_attachment_ok

OOIION-1716