Converted auth_test to use pydriver