Setcookie fix for sub-directories