I don't see a problem with having a gun held while answering the door. It's late at night/early morning, and the couple weren't expecting any company.
Now on the other hand, if the police did announce It was them, he should have left the gun, and came out with his hands up. Being that he seemed shocked it was police, and immediately got into a defensive position makes me believe this scenario was highly unlikely.