iOS Multi Stage Device Authentication Sample