SEC-2418 - Minor fix to toString method in LdapUserDetailsImpl

The toString method does not print "Not granted any authorities" when the authorities collection is non-null but empty. This change fixes that.