Additional tests for user controller

This is not unrelated. The controller test for the user calls the registration page; as the call is internal, geolocation may fail unexpectedly. In particular, if running unit tests offline, we wish to at least have the user controller tests succeed. It's necessary to therefore introduce indication of failure in geolocation, which in turn needs to be tested. Testing it requires these mocks and changes. How do you propose we split it up?