AS & JR fixed broken jasmine tests
Merge branch 'master' into auth2
Fix error handling in common.py
Redirect to settings on login.
Add Python change_password endpoint and improve error handling