Judge to hear AP suit over White House denial of access