Oldham Athletic secure EFL return