Merge "Refactor load_auth_image_internal()." into integration