Add a check to compare username and cert common-name