remove dependency of doorkeeper-orms and fix issues in ORM-specifics