Password Toggle Support for User Login

Fixes https://github.com/owncloud/core/issues/758
Let me know if it is fine.
Thanks!