Bernard Tomic gave the Melbourne fans something to cheer about with a battling victory over Daniel Brands at the Australian Open.