this should give you the same look unless your theme’s css overwrites it:
<form name="loginformfooter" class="loginform" id="loginformfooter" action="https://wordpress.stackexchange.com/questions/19222/<?php bloginfo("url'); ?>/wp-login.php" method="post">
<p><label>Username <input type="text" value="" maxlength="40" size="13" id="user_login" name="user_login" class="text">
</label>
<label>Password <input type="password" maxlength="40" size="13" id="password" name="password" class="text">
</label>
<input type="hidden" value="" name="re">
<input type="submit" value="Log in" id="submit" name="Submit" class="button-secondary">
(<a href="https://wordpress.stackexchange.com/questions/19222/<?php bloginfo("url'); ?>/wp-login.php?action=lostpassword">forgot?</a>) or <a href="https://wordpress.stackexchange.com/questions/19222/<?php bloginfo("url'); ?>/wp-login.php?action=register">Register</a></p>
</form>