Preserves cookie path

Original path of cookie is preserved by appending it to the servlet path.