Federal judge upholds WH ban on AP until a hearing in three weeks