Fix and test Devise::Strategies::LdapAuthenticatable

refs #1062