Fix http authentication response builder to avoid validation error if cookie was not changed