1 A or B depending on context
2 A
3 C
4 B or C depending on context
1 A - ..., we could drive home in less than an hour (conditional present/future meaning)
1 B - ..., we were able to drive home in less than an hour (past meaning)
2 A - She swam strongly and was able to cross the river (past meaning)
3 C - ..., the police could arrest you (capability [can] in the past)
4 B - You must have to put in a password. (supposition of an obligation)
4 C - You have to put in a password. (obligation)