fixed redirection bug

fixed redirection bug per this link:
http://wordpress.org/support/topic/broken-redirect-on-wp_login_form