US Congress authorizes $585 billion defense bill