Use flask instead of aiohttp as RPC server.
The azure backend cannot be run in the same thread as an asyncio
event loop: https://forge.softwareheritage.org/T3981
Additionally, this simplifies the code, by reusing the same
method auto-generation as other SWH components.