OpenMRS APIAuthenticationException on simple dry run

Both the properties are already present in global properties:

scheduler.username = scheduler scheduler.password = Scheduler123