fixes #18489 - test AuthSourceLdap missing and blank passwords
After 2348fc8e, providing an empty password during update would erase the existing password. Other resource type tests were updated, but not AuthSourceLdap, so these now reflect the current behaviour.
These started failing on Rails 5 as the test params passed converted a value of nil (not really possible) to an empty string, causing the password to be blanked. On develop, the original password was nil and the update to another nil value was a no-op.
Related issues
Bug #18489: auth_source_ldaps controller test sets account_password to nil to test missing parameter
fixes #18489 - test AuthSourceLdap missing and blank passwords
After 2348fc8e, providing an empty password during update would erase
the existing password. Other resource type tests were updated, but not
AuthSourceLdap, so these now reflect the current behaviour.
These started failing on Rails 5 as the test params passed converted a
value of nil (not really possible) to an empty string, causing the
password to be blanked. On develop, the original password was nil
and the update to another nil value was a no-op.