Fix pyflake warnings and add a FIXME comment to deal with auth_chains received when joining