CFY-1513 log user and key only if it exists