Added online-mode to config to disable/enable authentication.