login implemented, BasicHTTPClient works with cookies