Handling exceptions for not having auth_project objects in db