Allow users to change default project.

Also make sure we cannot change default project to one we don't belong
to.

Change-Id: I73da1c2dbf3111a5ff68775740799b7fc495a0d0