Update bingAuth.py

Re-factored code to support Python 3