Fixing auth result.