Basic authentication is working with angular. Still a few bugs