Hello & welcome.
I think you should upgrade to 4.5.6, because this is a 4.5.6 feature : "The zmtrainsa usage has been changed so that password is no longer required to access folders. (zmtrainsa <user> <spam|ham> [folder]"
See
Bug 17766 - zmtrainsa usage