Fix authorisation issue