Fix issues with tests

Fix some issues with the tests

* Avoid overrding hyper admin name in migrations
* use username not user() (general fix)
* actually use authentication in tests (rather than pretending it doesnt exist)
* minor cleanup