England's friendly against Brazil will go ahead on Sunday after a safety certificate was granted for the Maracana stadium.