Fixed IOError in `ia search` when using `head`, `tail`, etc..
Use "1" as ui3 cookie value to not confuse IA analytics.