Fix login requirement for search page