Dan,
Are you going to have an update to your IDS to use the ULS?
Edit: Actually, because there is only 1 return URL per facility, you'll need to modify the code to handle the authentication depending on your implementation. For SMF users, it's as simple as loading the SSI or API, and checking $user_info['is_guest']. In the sample enclosed, I demonstrated a way to use redirects for the forum and website. A slight modification to IDS could incorporate the change.