[iOS] Clip IdentityView content to bounds

Before:
https://drive.google.com/file/d/1O9B7y_OhKp-S8vCenqlQn6rMtOH6qne0/view?usp=sharing&resourcekey=0-pCyhRrRB84047Tda4yW2UQ
https://drive.google.com/file/d/12N2Nm4mHeB_QBZ9bodeOBO43gAXlC26l/view?usp=sharing&resourcekey=0-bkVuoYBknp0s9gSqKDCWZQ

After:
https://drive.google.com/file/d/1y-Gg7X1SrVybfBISLC3319Fr4RfKl4Lm/view?usp=sharing&resourcekey=0-PBIisgGATxuqJNlgdlqJ2A
https://drive.google.com/file/d/12xA9GtN2uzwIY9AqGrnOkcrkVGQb6iKN/view?usp=sharing&resourcekey=0-eUyZ6o8GvhROmnAMdfJmBg

Fixed: 1231497
Change-Id: Ie485e1eed2fba122b81ffb89f722cf33a28108e1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3042734
Auto-Submit: Jérôme <jlebel@chromium.org>
Reviewed-by: Nohemi Fernandez <fernandex@chromium.org>
Commit-Queue: Nohemi Fernandez <fernandex@chromium.org>
Cr-Commit-Position: refs/heads/master@{#903949}
diff --git a/ios/chrome/browser/ui/authentication/views/identity_view.mm b/ios/chrome/browser/ui/authentication/views/identity_view.mm
index 3b8a56e0..68ac8392 100644
--- a/ios/chrome/browser/ui/authentication/views/identity_view.mm
+++ b/ios/chrome/browser/ui/authentication/views/identity_view.mm
@@ -84,6 +84,7 @@
   self = [super initWithFrame:frame];
   if (self) {
     self.userInteractionEnabled = NO;
+    self.clipsToBounds = YES;
     // Avatar view.
     _avatarView = [[UIImageView alloc] init];
     _avatarView.translatesAutoresizingMaskIntoConstraints = NO;