Fix SPARK-1256: Master web UI and Worker web UI returns a 404 error