Fix error when showing credentials for oauth client