fix($browser): cookiePath now defaults to '' when basePath is undefined

As described in issue https://github.com/angular/angular.js/issues/1191 Safari and IE fails if the cookiePath is undefined.