SERVER-1891 Consolidate auth failure/success behavior in authenticate command, for easier logging.
SERVER-1891 Make it possible to get the local and remote SockAddr from an AbstractMessagingPort.
added missing assert number
SERVER-10010 leaving maintenance mode crashes mongod

check maintenance level before leaving maintenance mode
if it is already 0, return an error