Comparing Perfect-LocalAuthentication-PostgreSQL with Perfect-LocalAuthentication-MySQL.
The mysql code runs setup code like this: Application.setup() and AccessToken.setup().
However there is no such setup code in the postgresql code.
I think the postgresql code needs the same kind of setup.