improve logo flexibility to fix wide custom logo alignment, fix #9339
Merge pull request #10451 from k4k/login_logo_alignment_fix

improve logo flexibility to fix wide custom logo alignment, fix #9339