Don't let anonymous users access the search  page and search block.