title: authenticate_or_request_with_http_token never pass
body: <p>I am trying to implement an authentication for my rails API following this <a href="http://railscasts.com/episodes/352-securing-an-api?view=asciicast" rel="nofollow">tutorial</a> from railscast. I'm using the method <code>authenticate_or_request_with_http_token</code>, which I should check the token inside the block and it should pass if the block returns true. However, the method never pass even when I just put true in the block. This is what I see in the log:</p>
  
  <p>I am using rails 4.0</p>
  
  <pre><code>  Filter chain halted as :restrict_access rendered or redirected
  </code></pre>
  
  <p>This is my code:</p>
  
  <pre><code>  before_filter :restrict_access
  
    def restrict_access
      authenticate_or_request_with_http_token do |token, options|
        true
      end
    end
  </code></pre>