Fixed issues with database user creation.