MYLOC-65 changed getCookie method to use pal host
MYLOC-65 fixed inconsistent variable name for base uri