Properly setup OpenLDAP to read the userPassword attribute using the cn=admin,dc=test,dc=com user.
Throw a different exception if the password attribute can not be read.