Fixing response code 400 error with Session#collection_by_url. #41