Fix authentication with Python 3 (see #70)