Add security code for scripts launched outside

Added a security code defined in config.php used on fix, manual
and cron scripts launched outside