Refactored specs to use error message and signin helper functions from utilities.rb