Add basic auth framework