MDL-21342 deprecate unused login functions