I have a bit trouble with Mechanize.

When a submit a form with Mechanize. I am come to a page with one meta refresh and there is no links. 

My question is how do i follow the meta refresh?

I have tried to allow meta refresh but then i get a socket error.
Sample code

```
require 'mechanize'
agent = WWW::Mechanize.new
agent.get("http://euroads.dk")
form = agent.page.forms.first
form.username = "username"
form.password = "password"
form.submit
page = agent.get("http://www.euroads.dk/system/index.php?showpage=login")
agent.page.body

```

The response:

```
<html>
 <head>
   <META HTTP-EQUIV=\"Refresh\" CONTENT=\"0;URL=index.php?showpage=m_frontpage\">
 </head>
</html>

```

Then I try:

```
redirect_url = page.parser.at('META[HTTP-EQUIV=\"Refresh\"]')[
  "0;URL=index.php?showpage=m_frontpage\"][/url=(.+)/, 1]

```

But I get:

```

NoMethodError: Undefined method '[]' for nil:NilClass

```