adding IP support in the connector.py
adding IP support in the decorator.py

this include get_client_ip function reading IP address from HTTP request
adding IP support to login
adjusting tests