Simplified U2F example code.