.......... [DEV-533] improved code quality by renaming and improving function clearCookies()