Fix 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.