World No.6 Casper Ruud and Japanese veteran Kei Nishikori have won through to the second round of the Australian Open in five-set thrillers.