add Mechanize monkeypatch for post(), so that it can also handle being redirected to the login page and retry