Set up basic authentication infrastructure