added authentication to ommongodb

See rsyslog/rsyslog#14 

Sorry for the duplicate issue. I don't want to spend time figuring out how to associate this request with an existing issue!

Code comes without testing or compiling, but it looks alright! If it doesn't work, let me know and I'll spend the time to set up a development environment.