JSEC-34 - added logic to add '/' if the request contextPath is null or empty, accompanied by two test cases for verification