fixed multiple authentication