On a side note, I can accomplish what I want to do using the publish() method from ModuleBase, but it doesn't fail as gracefully...there's no pop-up box that appears for user/pass (has to be passed in then URL), and it FME hangs for a couple seconds when it receives client.rejectConnection() from publish().

So I'd really like it to behave like a "regular" FME session...password pop-up on connect, etc.