Exactly what I already did for forums in 5.0. Made user_id = 0 a user, and, if "The Public" have create permissions on the forums instance, I allow anonymous postings.
Re the bug, even if we don't support anonymous comments, the trick of not bouncing for login until the user has already committed and effort to write a posting is an old one to get more people to register.
/Lars