Merge pull request #17 from henriwatson/master

Send user to settings page instead of login
URL encode credentials before sending them to /settings