NTFY-57: safer checking for account name and logging before sending metric request