Bug 1093128 - Fix checking for the viewer to open when the user clicks a...

... link to protected content