I've added the test with the cookie name changed - thanks for spotting it. There was already one with the redirect target URL changed: https://github.com/edx/edx-platform/pull/2482/files#diff-7799e0a774635479f5d618e013381e69R83