Remove assert since that code can also be reached using auto-authentication.