Add fix for authentication