```ruby
require 'test_helper'

class FluffyPawsTest < Minitest::Test
  include Rack::Test::Methods

  def app
    FluffyPaws::App
  end

  def test_that_it_has_a_version_number
    refute_nil ::FluffyPaws::VERSION
  end

  def test_index_response_is_ok
    get '/'
    assert last_response.ok?
  end

  def test_index_body_contains_custom_title
    get '/'
    assert_includes last_response.body, 'Holy Smokes!'
  end

  def test_logout_redirects_to_index
    get '/logout'
    follow_redirect!
    assert last_response.ok?
    assert_equal 'http://example.org/', last_request.url
  end

  def test_login_redirects_to_index
    post '/login'
    follow_redirect!
    assert last_response.ok?
    assert_equal 'http://example.org/', last_request.url
  end
end
```

Adjust tests for user authorisation changes
user
```ruby
require 'test_helper'

class FluffyPawsTest < Minitest::Test
  include Rack::Test::Methods

  def app
    FluffyPaws::App
  end

  def test_that_it_has_a_version_number
    refute_nil ::FluffyPaws::VERSION
  end

  def test_index_response_is_ok
    get '/login'
    assert last_response.ok?
  end

  def test_index_body_contains_custom_title
    get '/login'
    assert_includes last_response.body, 'Fluffy Paws'
  end

  def test_logout_redirects_to_index
    get '/logout'
    follow_redirect!
    assert last_response.ok?
    assert_equal 'http://example.org/login', last_request.url
  end
end
```
assistant