Fix registering newly authenticated user