URI encode profile cookies