authentication rspec error fix