Fixed twitter auth failure bug using cookies