Adding constructors to auth objects

Not sure about Hostname?