Update python partnership library

@lopatin I make a bunch of changes in several commits, please review.  Thanks!
Is this limit different for partner accounts? Looks like our rails login code accepts 6 char passwords