Rewrite bundle author authentication logic