fix for not triggering the auth callback