Why not split the `payload` parameter into two separate `login` and `password` arguments? You always need both, so I think it makes sense to explicitly list them instead of always packing and unpacking the two values.

An alternative would be a namedtuple, but as the zen of python says: flat is better than nested.