Readded endpoints cookies monkey patch