username/password must be str instead of unicode