Added authenticated access 

Hello Leon, 

I've added authenticated access support, including modification to the configuration. There is a new boolean "authentication_enabled" setting in the configuration constants. Also included are the previous changes I sent you by email. I have done some basic integration tests with Flume and MongoDB, and it seems to work for me. 

Thanks,
Harish