Fix the security of the report servlet.