Could you update this to be passed in as a tuple such as basic_auth to reduce the amount of parameters __init__ takes.