Digest before authorize_check_query