Fixed issue #8412: Creating a new user shows error on Postgres