(BugId:94924) Prevent exceptions in Firefox when cookies are disabled.
Merge branch 'bugid-94924' into dev