login_uri was not being set early enough for unauthorized requests

Line 296 of http.rb could be reached with nil login_uri, was not producing correct result. Amendment results in: "RETS::Unauthorized: Cannot login, check credentials." as expected.