Updated RSpec test for user login/logout (test passed)