Adding authentication to Flask microservice