Basic HTTP Authentication with Flask and AngularJS