Remove logging, fix adhost URL, check that cookie key isn't null