LPS-48160 Replace int constants with static inner classes for UserPasswordException