Fix resource_owner_from_credentials in Doorkeeper initializer (#12743)
Fix resource_owner_from_credentials in Doorkeeper initializer (#12743)

- Nil error when e-mail not found
- LDAP authentication used in place of PAM authentication
Nyoho/mastodon,imas/mastodon,tootsuite/mastodon,primenumber/mastodon,imas/mastodon,musashino205/mastodon,im-in-space/mastodon,theoria24/mastodon,gol-cha/mastodon,lynlynlynx/mastodon,ikuradon/mastodon,glitch-soc/mastodon,musashino205/mastodon,lindwurm/mastodon,theoria24/mastodon,musashino205/mastodon,kirakiratter/mastodon,MitarashiDango/mastodon,cobodo/mastodon,dunn/mastodon,im-in-space/mastodon,h3zjp/mastodon,dunn/mastodon,masto-donte-com-br/mastodon,Ryanaka/mastodon,yi0713/mastodon,dunn/mastodon,gol-cha/mastodon,danhunsaker/mastodon,lynlynlynx/mastodon,gol-cha/mastodon,tri-star/mastodon,yi0713/mastodon,rainyday/mastodon,theoria24/mastodon,rainyday/mastodon,glitch-soc/mastodon,pinfort/mastodon,kirakiratter/mastodon,abcang/mastodon,lynlynlynx/mastodon,tootsuite/mastodon,glitch-soc/mastodon,kazh98/social.arnip.org,Nyoho/mastodon,ykzts/mastodon,MitarashiDango/mastodon,tootsuite/mastodon,theoria24/mastodon,tootcafe/mastodon,tootsuite/mastodon,abcang/mastodon,tri-star/mastodon,Kirishima21/mastodon,ikuradon/mastodon,pinfort/mastodon,yi0713/mastodon,maa123/mastodon,masto-donte-com-br/mastodon,gol-cha/mastodon,Ryanaka/mastodon,koba-lab/mastodon,koba-lab/mastodon,pinfort/mastodon,kazh98/social.arnip.org,maa123/mastodon,cobodo/mastodon,primenumber/mastodon,dunn/mastodon,Nyoho/mastodon,yi0713/mastodon,kirakiratter/mastodon,h3zjp/mastodon,yukimochi/mastodon,primenumber/mastodon,pinfort/mastodon,imas/mastodon,ikuradon/mastodon,lindwurm/mastodon,ykzts/mastodon,Nyoho/mastodon,yukimochi/mastodon,cobodo/mastodon,yukimochi/mastodon,ikuradon/mastodon,tootcafe/mastodon,koba-lab/mastodon,MitarashiDango/mastodon,glitch-soc/mastodon,Kirishima21/mastodon,cobodo/mastodon,masto-donte-com-br/mastodon,h3zjp/mastodon,lindwurm/mastodon,abcang/mastodon,rainyday/mastodon,tri-star/mastodon,Ryanaka/mastodon,tootcafe/mastodon,kirakiratter/mastodon,abcang/mastodon,tootcafe/mastodon,koba-lab/mastodon,imas/mastodon,kazh98/social.arnip.org,danhunsaker/mastodon,ykzts/mastodon,tri-star/mastodon,rainyday/mastodon,lynlynlynx/mastodon,MitarashiDango/mastodon,lindwurm/mastodon,maa123/mastodon,Ryanaka/mastodon,h3zjp/mastodon,primenumber/mastodon,im-in-space/mastodon,danhunsaker/mastodon,musashino205/mastodon,masto-donte-com-br/mastodon,yukimochi/mastodon,im-in-space/mastodon,danhunsaker/mastodon,kazh98/social.arnip.org,maa123/mastodon,ykzts/mastodon,Kirishima21/mastodon,Kirishima21/mastodon