Reverted changes on userBindDN implementation so it works again for CaptivePortal and fixed user validation