Bug fix for Issue https://github.com/mytardis/mytardis/issues/262

Made upload_auth callable with any log in state and not raise an exception.