Fabio Quartararo and Yamaha team-mate Alex Rins surprise by securing direct access to Qualifying 2 on Friday at the Portimao MotoGP.