Issue #3451040 by Grimreaper: Automated Drupal 11 compatibility fixes for entity_access_password + code quality
Closes #3451040