[bz-1067612] Fixed a bug where the DatabaseRolesMappingProvider will attempt to use an empty result set if the rolesQuery returns an empty set. This causes the authentication attempt to fail.
[SECURITY-797] Fixed a bug where the DatabaseRolesMappingProvider will attempt to use an empty result set if the rolesQuery returns an empty set. This causes the authentication attempt to fail.