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.