Why do I get an error when logging in to Reference Application?

I’ve created a topic with the same issue:

Seems there’s some problem in the implementation of redirection logic (privilege check).