Hello
Add this code in your .htaccess file
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
IF above does not works then please change the above line to :
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$1
The .htaccess file will be present in your WordPress core folder.
After adding this code, The login issue will be resolved.