Hue Emulation returning incorrect responses

According to Get Started - Philips Hue Developer Program when data to /api is POSTed there should be an account created for that user. However, when I enable pairing mode and issue a POST-Request I get a 302 to /api/ to which my client then issues a GET-Request which will not work as it will get an Unauthorized. Has someone seen something like this before? This was working in the past, so anybody knows what happened?

This issue is mentioned in Hue Emulation documentation, the solution is to setup nginx to change the URL.

That’s more a workaround than a solution… Anyways, it would be great to get a proper fix for this so the 302 response isn’t being sent. This might require major changes though unfortunately (or it might not work at all).