corrected domain prefix, added cookie removal logic, #290