Refactor RSpec tests

- Prefer `subject` over an instance variable
- Use built in `respond_to` matcher
- Use one-liner syntax `is_expected`
- Pass multiple methods to `respond_to`
- Make `termapp_helper.rb` a module `TermAppHelpers`
- Move helper methods to a module `LoginHelpers`