How to cut the realm from a username before it is sent to authenticate against ldap with ttls/pap