VOLDEV-74: fix weird login loop for edit-restricted pages while logged in

ping @Grunny 

I /know/ this works, it's a really minor change so I hope you don't mind if I skip having another voldev QA it