Temperature dependence of the supercurrent density in bilayer cuprate superconductors