Sign in working.   Cleaning up to do.
Basic authentication and authorization