Small Performance improvment on the authorization