getTokenAsHeader -> isTokenAsHeader. Also added setTokenHeader to parameterless constructor of WordPressClient