Fix getting the current user's role in role sync, refs #27