Make the change for Rundeck's preauthentication mode conditional, as it only fails for token based authentication
Make the change for Rundeck's preauthentication mode conditional, as it only fails for token based authentication

rundeck/rundeck-api-java-client,rundeck/rundeck-api-java-client