I need to specify the cookie option after initialization of jQuery UI tabs. Though the cookie appears to be set, the tabs script is ignoring it completely.

If I set the cookie option at initialization, then everything works as expected.

If this a bug? Or am i missing something.

I've set up a page to demonstrate the issue:
jQuery UI Tab issue