b: fixed sql error in add_auth_system