Add baseauth constructor