DreamFactory 2 authorization error

Migrating back to MySql solves the problem but of course it is not a solution because I want to use pgsql for my users.

PostrgreSQL log shows:

2015-11-13 14:54:37 MSK STATEMENT:  select * from "cors_config" where enabled = 1
2015-11-13 14:54:38 MSK ERROR:  operator does not exist: boolean = integer at character 43
2015-11-13 14:54:38 MSK HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.