Made JDbcSipAccountRepository return null if no data is found.
Added handling for resource not found.
Cleaned up code related to handling resource not found.