User Login Block does nothing The core user login block does not appear to work.

I have it placed in the Header region (Omega theme if that helps), with the following overrides:

function mytheme_theme(&amp;$existing, $type, $theme, $path) {
   $hooks['user_login_block'] = array(
     'template' =&gt; 'templates/user-login-block',
     'render element' =&gt; 'form',
   );
   return $hooks;
 }


This lets me use my own tpl file for the login block.

function mytheme_preprocess_user_login_block(&amp;$vars) {
  $vars['name'] = render($vars['form']['name']);
  $vars['pass'] = render($vars['form']['pass']);
  $vars['submit'] = render($vars['form']['actions']['submit']);
  $vars['rendered'] = drupal_render_children($vars['form']);
}


This lets me pass new variables..

Then in the tpl file:

&lt;div id="user-login-block-container"&gt;
  &lt;div id="user-login-block-form-fields"&gt;
    &lt;?php print $name; ?&gt;
    &lt;?php print $pass; ?&gt;
    &lt;?php print $submit; ?&gt;
  &lt;/div&gt;
  &lt;div class="links"&gt;
    &lt;a href="/user/register"&gt;Create an Account&lt;/a&gt; | &lt;a href="/user/password"&gt;Forgot Password&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


Except when I login, the page refreshes, and nothing happens. User is not logged in, no error. When I use correct or incorrect credentials, nothing happens. 

I used this same approach on a Drupal 6 site and it worked fine. Where am I going wrong?

I disabled Login Destination and Login Toboggan while debugging, no change.
You should print hidden elements:

&lt;div id="user-login-block-container"&gt;
  &lt;div id="user-login-block-form-fields"&gt;
    &lt;?php print $name; ?&gt;
    &lt;?php print $pass; ?&gt;
    &lt;?php print $submit; ?&gt;
    &lt;?php print $rendered; // HERE HIDDEN ELEMENTS ?&gt; 
  &lt;/div&gt;
  &lt;div class="links"&gt;
    &lt;a href="/user/register"&gt;Create an Account&lt;/a&gt; | &lt;a href="/user/password"&gt;Forgot Password&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;