#JC-1200. Fix for login script after changing enum values.