Under regulations prescribed by the Secretary of Transportation, a student at a State maritime academy shall receive from the Secretary allowances for transportation (including reimbursement of traveling expenses) when traveling under orders to receive training under .section 51507 of this title