Please stop the server, change .xml from
<username encrypted="true">OLD_USERNAME</username>
<password encrypted="true">OLD_PASSWORD</password>
to
<username>NEW_USERNAME</username>
<password>NEW_PASSWORD</password>
and start the server again, it will encrypt new credentials automatically.