The US president avoided the White House Correspondents' dinner, but was still the butt of the jokes.