Removed unnecessary attr_accessor's.
Handle authentication failure.
specs