fixed broken tests. fixed routing issue after login

* fixed tests broken because they were using the old field numberings still
* fixed the issue with a broken redirect after login
Merge pull request #430 from unikent/bugs/fix-tests

fixed broken tests. fixed routing issue after login
Merge branch 'develop' of github.com:unikent/programmes-plant into feature/add-system-settings