add try block to avoid ldap problems
add try block to avoid ldap problems

https://groups.google.com/a/continuum.io/forum/?hl=en#!topic/brookhaven-national-laboratory-support/L9iYea4mfjQ
ContinuumIO/flask-ldap-login,ContinuumIO/flask-ldap-login