Optically secured information retrieval using two authenticated phase-only masks