handle cookie from cookie file, ready to post login form