Add authenticate filter on search API

minor bug fix

ping @okawa14all