Fixed typo in auth_result function.