Danish-20141102
Fixed the logic of detecting login success; fix zp_handle_password

The bug was caused just by the use of || instead of &&, but in addition, we should never be passing the password through any sort of sanitization since the only thing done with it is hashing it to oblivion. Sanitization could incorrectly dispose of special characters that should be valid in a password.
Merge pull request #868 from zenphoto/downloadlist-fix-guest-password

Fixed the logic of detecting login success; fix zp_handle_password
Merge remote-tracking branch 'upstream/master' into upstream

Pitty the poor zenphoto user who has magic_quotes set. Tris's change will cause them havoc

Conflicts:
	zp-core/functions.php
	zp-core/locale/da_DK/LC_MESSAGES/zenphoto.mo
	zp-core/locale/da_DK/LC_MESSAGES/zenphoto.po
	zp-core/zp-extensions/downloadList.php