Fixed disconnect issues

- Added configurable username/password fields
- Made LDAP connection get created on auth attempts otherwise the connection can be closed by the LDAP server and break the strategy unless the application is restarted
- Added username placeholder replace