minor code fix

Per the documentation:

public boolean authenticate(String username, char[] password)
Returns: true if authenticated, false otherwise