Remove trailing whitespace from api_user