as is with python not recognizing authentication test