split query and search of urlObject for URL module
fix authorization bug with cookies