Change default return value for getCookie() to a String, so that it doesn't make odd defaults