Fix bug in the creation of the callback_url, using rstrip to remove slash if present, instead of removing the last character from SITEURL