Authenticate before repo call