The rules could be different from one base to another. At some bases, you might not have to swing by the pass and ID office, but others require it, and there are military installations where you are completely barred from entry. Best to give the pass office at your target base a call.