El Capitan: How do I use my Apple ID password to log in after a temporary password change?
Run the following command in Terminal, then restart your Mac. The iCloud password will appear again.

sudo dscl . append /Users/`users` AuthenticationAuthority ";AppleID;ID@APPLE.COM"


And do NOT forget to change ID@APPLE.COM yo your real Apple ID.