Adding exception handle to dreamspark login.