Fix import error of the auth module
Add exception handling for users without company

This happens most likely when we manually create users via
`manage.py accounts create_user`