Restored request validator for the api for qr login functionality.