Authenticating with a password with git over http works again. More information here.
Test `args.min_duration` outside the loop on `expanded_traj`. Clearer.