Make sure to pass the right username for correct ConditionValues (#7169)
Make sure to pass the right username for correct ConditionValues (#7169)

Without passing proper username value would result in AccessDenied
errors when policies with `{aws:username}` substitutions are used.

Fixes #7165
harshavardhana/minio,fwessels/minio,fwessels/minio,krisis/minio,aead/minio,fwessels/minio,harshavardhana/minio,krishnasrinivas/minio,harshavardhana/minio,aead/minio,krishnasrinivas/minio,fwessels/minio,aead/minio,NitishT/minio,harshavardhana/minio,jimjag/minio,minio/minio,balamurugana/minio,NitishT/minio,NitishT/minio,krisis/minio,harshavardhana/minio,harshavardhana/minio,aead/minio,vadmeste/minio,harshavardhana/minio,aead/minio,aead/minio,jimjag/minio,NitishT/minio,jimjag/minio,jimjag/minio,harshavardhana/minio,krishnasrinivas/minio,donatello/minio,vadmeste/minio,krishnasrinivas/minio,aead/minio,aead/minio,balamurugana/minio,minio/minio,donatello/minio