Fixed bug related with authenticator.getUsername