Add nocache_headers() to action_authorize() to prevent servers from caching the 301 redirect in specific situations.