improved logging for ApiAuthenticatedMethod