Factored out shared module because auth required fixes to work between Angular apps.