Republicans teased over post saying no one who mishandles US secrets can be president