Fix cookies for codeigniter compatibility

Codeigniter do not admit "#" char in cookies and query strings, so, for compatibility purpose, i've changed it in "_".