Move from Bottle to Flask
Basic auth working