Logging in for rspec tests.