If you use ModuleOnConnectAuthenticate2, then it should work with FMLE. This module accepts the username and password as query parameters which you can add to your fmle server url.
If you are using an old version of fmle, then query params may not work, in which case, you would add them as extra folders in the path.
In Wowza, any folders after the appInstance portion of the rtmp url will automatically be converted to query params. Note: This is only for where the server address and stream name are entered separately.