Delete cookie data in logout()

Copying code from Users plugin