WebSearch: fix restricted collection search

* Fixes an issue where a guest user could not search for records
  in a restricted collection authorized for to the guest user.