refactor spec/requests/authentication_pages_spec.rb
continue to refactor RSpec test