Possibility to state api URL in login_data.txt

also: minor fixes
Merge pull request #2 from sburnicki/request_fix

Possibility to state api URL in login_data.txt