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

OOIION-1716