eliminate trailing blanks when parsing auth server configurations
fixed a isblank() test
fixed NUL character problem when trimming trailing blanks