properly disables IPv6 to avoid mongod warnings
adds support for enabling authentication