Bradford substitute Aaron Mclean scored a controversial late goal to earn his side a 1-0 Capital One Cup win at Morecambe.