title: Devise send_reset_password_instructions does not work
body: <p>I'm adding a function in my controller, the only goal is to trigger the forgot password procedure through API Request. </p>
  
  <p>Here is the <code>reset_password</code> method-</p>
  
  <pre><code>  def reset_password
      @user = User.find_by_email(params[:email])
      @user.send_reset_password_instructions
      respond_to do |format|
        format.xml  { render :xml =&gt; user_api_ressource(@user, :xml)}
        format.json  { render :json =&gt; user_api_ressource(@user, :json)}
      end
    end
  </code></pre>
  
  <p>I'm receiving the mail with the reset password link, it opens the page where I can set a new password but when I submit the form it says that the token is invalid. </p>
  
  <p>I'm using sendgrid to send email. I think it's not a token truncate problem. </p>
  
  <p>I'm running the rails application on Heroku cedar with the latest version of devise. </p>
  
  <p>Any idea ? </p>