4-digits login to Mac like Windows 8
From - How to Stop Using an iCloud Password to Login to a Mac


  
  Go to the  Apple menu and choose “System Preferences”
  Choose “Users &amp; Groups” and select the primary Mac login that you want to disassociate the iCloud password and use a unique separate password for
  Click the “Change Password” button next to the user name
  At the prompt “Do you want to change your iCloud password, or stop using your iCloud password to unlock this Mac and create a separate password?” – choose “Use Separate Password…”
  Set and confirm the new password and close out of System Preferences when finished