Regression: wireless security-profile radius-mac-mode=as-username-and-password sends garbage

Beginning with ROS 6.45 when using radius-mac-mode=as-username-and-password the password itself is corrupted.

freeradius shows this:
(1) Service-Type = Framed-User
(1) NAS-Port-Id = “xyxy”
(1) NAS-Port-Type = Wireless-802.11
(1) User-Name = “AC:12:34:56:78:90”
(1) Calling-Station-Id = “AC:12:34:56:78:90”
(1) Called-Station-Id = “6E-AB-CD-EF-01-23:xyxy”
(1) User-Password = “AC:12:34:56:78:9\356\217l\002\246\234Z!?\253\241\347\314v\032\376”
(1) NAS-Identifier = “scrambled-for-forum”

As you can see the last byte of the User-Password is missing. instead said garbage is appended

Same problem with hotspot, opened ticket with support : #2019070222007151