AuthProvider.prototype.prepareAuthResult introduced
AuthProvider now handles identity packing/unpacking, bug in auth() fixed