remove trailing slash from server_url before entering in database, make lookup trailing-slash-insensitive