change return values of Database.validateCredentials

git-svn-id: https://markus.cdf.toronto.edu/svn/csc207-2014-09/group_0909/app@173 8153ec5e-17d7-4962-8641-23ff7c14a8d4