Klarna’s path to Europe’s most valuable startup began with utter defeat