srvconf refactoring: auth_by, server_info and check_user.