Updates JSDoc comment reference to XAuth
Refactors HTTP mocking and fixes redirect on creation of a new bookmark