Spark-server not working with particle-cli

I installed local spark-server and now I am trying to connect my photon to my cloud and when I run “particle setup” it asks me for email and password, I enter it and it says:
"Login Failed: server_error"
On server side it says:
::ffff:93.139.112.36 - - [Sat, 13 Feb 2016 22:53:00 GMT] “POST /oauth/token HTTP/1.1” 503 83 “-” “-”

It seems that “spark-server” does not have /oauth/token method at all?