Update troxy.py

Exception for wrong password, and small fixes