Setting up basic auth and firebase integration