It's better to leave the coral lights off for a while. Turn them on too early and it'll foster algae growth. The first time I cycled a tank (10 gallon nano) I turned the lights on after a month, hair algae/cyano/etc followed pretty soon afterwards. The second time (24 gallon) I waited at least four months (starting with live sand, rock from the 10 gallon, and dry "live" rock) before turning on the lights. The ugly phase did come but it was much briefer (about 2 weeks of algae and cyano bloom before it mostly went away).
The more patient you can be the shorter the ugly phase.