Finish sign in. Refactor spec with custom matchers and helper methods.