Require admin authentication for /codes.