I ran into this last night after a couple of night of trying to get things working. It turned out to be that I had disabled cookies for localhost in my browser to try to isolate a problem and for got to turn them back on. I turned on cookie, closed my browser, restarted JBoss and the opened my browser and everything worked fine.
Hope this helps.
That indeed do the trick. Thanks.