The wiki section Obtain a Token provides some example POST data which seems to indicate that you should send your email in the username field. This isn't true, it should just be your username. While this may seem pretty obvious, it wasn't for me and I think it might help others if this was more clear.