Management API token for SPA

@dan.woda Can you please look into this? I have also raised a new issue here. Can you please have a look at it?