fix bug 959638 - Prevent non auth'd users from certain document actions

https://bugzilla.mozilla.org/show_bug.cgi?id=959638