Hello.
The only real difference in the actual redirect is the use of a 301 (permanent) redirect over the old 302 (temporary) redirect. However, I would also suspect something else at work. Do you, by chance, have the bypassSecurityWarning attribute set to "true" in your config file? If so, try setting it to "false" (the default).