Removed return statement and replaced attrs with result in authenticate_with_... . Stock LdapAuth provides correct return value. There is no need to reprocess the return data.