Test authorization.