Update CookieManager.java

changed getCookie to getCookieName