Modify port

see http://trac.openmicroscopy.org.uk/ome/ticket/11976
To test
 * Login as user 1
 * Go to File > Switch user
 * When the login dialog pops up, modify the port e.g. 14064
 * Click on Login
 * Check that the data are loaded and no error dialog pops up