Port to MartinBriza/QAuth

Details TBD, in a hurry, sorry