Support v2 protocol authentication

Fixes #125, PYTHON-73