Made minor bug fixes to OrganisationManager and LoginController.