Update fbxosctrl.py

line 164, in _login: encode apptoken to <type 'str'> (Python 27) to fix a TypeError thrown by hmac