title: Devise Confirmation Resend "Login can't be blank" error & Confirmation link from email has "Confirmation token is invalid" error
body: <p>ruby '1.9.3'</p>
  
  <p>"rails", "3.2.13"</p>
  
  <p>"devise", '~> 3.2.2'</p>
  
  <p>I'm using the Devise confirmation controller without modification. I create a user and the email is sent. Then clicking on the link to confirm results in "Confirmation token is invalid". The token in the email is the same as in the database.</p>
  
  <p>Also when the user is in Registrations edit I provided a link to resend the confirmation email. This brings the user to Confirmations New and you fill in the email and click the "Resend Confirmation instructions" button and receive the error "Login can't be blank." The user is logged in, otherwise they would not be able to get to users/edit or users/confirmation/new.</p>
  
  <p>I have configured devise to accept a user_name or email for login.</p>