Added cb for beginAuth, more error checking