In RackTest driver cookies arent set for the root path if the first request does not include a path

As reported on the mailing list - https://groups.google.com/forum/?fromgroups=#!topic/ruby-capybara/TmeFibQbQMQ

This PR includes a test for the issue