public static boolean isAuthenticated(String username,
String encryptedPassword) {
Objectify ofy = OS.begin();
// OQuery<WikiUser> q = OS.createQuery(WikiUser.class);
Query<WikiUser> q = ofy.query(WikiUser.class);
q.filter("username", username);
q.filter("password", encryptedPassword);
return q.countAll() > 0;
// return ofy.prepare(q).asSingle() != null;