Fixes an error from my merge last night. Forgot to set the test user to ADMIN, so all tests involving creating projects failed. Also fixed a null pointer bug when the session is null.

Brian Gaffey
Merge remote-tracking branch 'origin/dev-core' into dev-core