Hi Aleksander,
Could you provide more details on how you registered your application to get your API credentials and the general purpose of your application.
It seems that you generated your API credentials using the online demo of Phraseanet which is not recommended while working in a development environment.
or by cloning one of the last branch available on github and follow the documentation for building your environment using Vagrant or Docker.
Get in touch if you have any questions.
Gaspard J
Alchemy