Add jQuery cookie plugin and store passed username and token with it.