Remove unused pub_key kwarg from utils.cloud.check_auth

Closes #12420