A legal challenge has been launched against the government over changes affecting thousands of university students.