Fixes issue with invalid cookie