Update settings.py

Make 'settings_page' function check password and e-mail for validity as required by the 'login' function in authentication.py
for the password.
Merge pull request #217 from kapilhp/patch-1

Update settings.py to ensure that change in user password and email address gives proper error messages.